<!doctype html>
<html ng-app='myApp'>
<head>
<#include "/h5/include.ftl"/>
<script src="/h5/js/biz/myCollect.js"></script>
<title>我的收藏</title>
</head>

<body style="background:#fff;">
  <div id="iheader">
  <a href="/m/home" class="iheader_back"></a>
    <h2 class="iheader_title">我的收藏</h2>
    <h6 class="clear"></h6>
  </div>
<div class="h90"></div>
<div class="my_collect">
	<ul>
		<li><a href="#/2" id="storeTab">商家</a></li>
        <li><a href="#/1" id="goodsTab">团购</a></li>
    </ul>
    <div ng-view></div>
</div>
<script type="text/ng-template" id="store">
	<div class="business" infinite-scroll='nextPage()' nfinite-scroll-disabled='busy' infinite-scroll-distance='0' ng-controller='storeCtl'>
    	<div class="business_box clearfix" ng-repeat='g in list'>
        	<div class="business_pic"><a href="#"><img src="/h5/images/guess_pic.jpg" ng-src='/download?id={{g.img}}'/></a></div>
        	<div class="business_r">
            	<h2 class="business_name"><a href="#" ng-bind='g.name'>长兴楼饭店（新区总店）</a></h2>
                <div class="business_star">
                	<span class="ic_star " ng-class="{'ic_star_selected':g.avgScore>0}"></span>
                	<span class="ic_star " ng-class="{'ic_star_selected':g.avgScore>1}"></span>
                	<span class="ic_star " ng-class="{'ic_star_selected':g.avgScore>2}"></span>
                	<span class="ic_star " ng-class="{'ic_star_selected':g.avgScore>3}"></span>
                	<span class="ic_star" ng-class="{'ic_star_selected':g.avgScore>4}"></span>
                </div>
                <div class="business_bal"><i class="distance" ng-bind='g.distance'>500m</i><span class="adr" ng-bind="g.info+' '+g.areaName">宴请聚会  新北区</span></div>
            </div>
            <h6 class="clear"></h6>
        </div>
    </div>
</script>
<script type="text/ng-template" id="goods">
	    <div class="guess" infinite-scroll='nextPage()' nfinite-scroll-disabled='busy' infinite-scroll-distance='0' ng-controller='goodsCtl'>
    <div class="guess_b">
    	<div class="guess_box clearfix" ng-repeat='g in list'>
        	<div class="guess_pic"><a href="#"><img src="/h5/images/guess_pic.jpg" ng-src="/download?id={{g.img}}"/></a></div>
        	<div class="guess_r">
            	<h2 class="guess_name"><span ng-bind="'总销量：'+g.sellCnt">总销量：300</span><a href="#" ng-bind='g.name'>长兴楼饭店</a></h2>
                <div class="guess_info"><p ng-bind='goods.tags'>500元代金券1张，可叠加，免预约</p></div>
                <div class="guess_bal"><i class="distance" ng-bind='g.distance'>500m</i><span class="price" ng-bind="'￥'+g.price">￥450</span></div>
            </div>
            <h6 class="clear"></h6>
        </div>
    </div>
</div>
</script>

<div class="h40"></div>

</body>
</html>
